package com.itheima.edu.manager.entry;

import com.itheima.edu.manager.controller.StudentController;

import java.util.Scanner;

public class StudentManagerEntry {
    public static void main(String[] args) {
        while (true) {
            //一级菜单
            System.out.println("--------欢迎来到黑马管理系统-------");
            System.out.println("1 学生管理系统");
            System.out.println("2 老师管理系统");
            System.out.println("3 退出");
            System.out.println("请输入您的选择:");
            Scanner sc = new Scanner(System.in);
            int choice = sc.nextInt();

            switch (choice) {
                case 1:
                    StudentController controller = new StudentController();
                    controller.start();
                    break;
                case 2:
                    break;
                case 3:
                    return;
            }
        }
    }
}
